//
//  ClassSendTableViewCell.swift
//  BellManage
//
//  Created by Bestsch on 16/3/31.
//  Copyright © 2016年 wsl. All rights reserved.
//

import UIKit

class ClassSendTableViewCell: UITableViewCell {

    
    var classname, count: UILabel!
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        self.backgroundColor = UIColor.white
        setUp()
    }
    
    func setUp() {
        classname = UILabel.init(frame: CGRect(x: 20, y: 0, width: 100, height: 60))
        classname.font = UIFont.systemFont(ofSize: 16)
        classname.textAlignment = NSTextAlignment.left
        classname.textColor = UIColor.darkText
        
        count = UILabel.init(frame: CGRect(x: screenW/2, y: 0,width: screenW/2 - 40, height: 60))
        count.font = UIFont.systemFont(ofSize: 16)
        count.textAlignment = NSTextAlignment.right
        count.textColor = UIColor.darkText
        
        self.contentView.addSubview(classname)
        self.contentView.addSubview(count)
        
    }
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
